<%@ page import="pojo.User" %>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>审核日志</title>
    <link type="text/css" rel="stylesheet" href="../skin/css/table.css" />
    <script type="text/javascript" src="../skin/js/jquery-1.7.1.js"></script>
</head>
<script type="text/javascript">
    $(function () {
        if(${result>0}){
            alert("审核成功");
        }
    });
</script>
<body>
<jsp:include page="../functionModule.jsp"/>
<!--right-->
<div class="right_layout">
    <img src="../skin/images/left_hidden1_03.png" class="hidden_img"/>
    <div class="right_content">
        <div class="hr-5"></div>
        <div class="right_tit">
            <div class="right_back fyh"><a href="${pageContext.request.contextPath}/home?method=home">返回</a></div>
            <div class="tit_bg fyh">当前位置： 管理菜单 >>日志审核</div>
        </div>
        <div>
            <table class="tab">
                <tr>
                    <th width="10%" class="tab_th fyh"><input type="checkbox" class="tab_checkbox1"/>ID</th>
                    <th width="20%" class="tab_th fyh">标题</th>
                    <th width="10%" class="tab_th fyh">日期</th>
                    <th width="15%" class="tab_th fyh">类型</th>
                    <th width="10%" class="tab_th fyh">用户名</th>
                    <th width="10%" class="tab_th fyh">状态</th>
                    <th width="10%" class="tab_th fyh">查看</th>
                </tr>
                <c:forEach items="${logs1}" var="log" varStatus="vs">
                    <tr>
                        <td class="tab_td fyh"><input type="checkbox" class="tab_checkbox"/><span class="tab_span">${log.id}</span></td>
                        <td class="tab_td fyh">${log.title}</td>
                        <td class="tab_td fyh">${log.date}</td>
                        <td class="tab_td fyh">${log.logFamily}</td>
                        <td id="status"  class="tab_td fyh">${log.username}</td>
                        <td class="tab_td fyh" style="color: red">审核中</td>
                        <td class="tab_td fyh"><a href="${pageContext.request.contextPath}log?method=seeLog&id=${log.id}"><input type="button" class="tab_button" value="查看"/></a></td>
                    </tr>
                </c:forEach>
            </table>
            <form action="#" class="tab_form">
                <a href="${pageContext.request.contextPath}log?method=checkLog&page=${allPage}"><input type="button" class="table_button fyh" value="尾页" /></a>
                <a href="${pageContext.request.contextPath}log?method=checkLog&page=${pageNow+1}"><input type="button" class="table_button fyh" value="下一页" /></a>
                <a href="${pageContext.request.contextPath}log?method=checkLog&page=${pageNow-1}"><input type="button" class="table_button fyh" value="上一页" /></a>
                <a href="${pageContext.request.contextPath}log?method=checkLog&page=0"><input type="button" class="table_button fyh" value="首页" /></a>
                <div class=" table_page fyh">
                    共&nbsp;<span>${count}</span>&nbsp;条记录&nbsp;&nbsp;&nbsp;&nbsp;
                    每页&nbsp;<span>10</span>&nbsp;条&nbsp;&nbsp;&nbsp;&nbsp;
                    页次：<input type="text" class="table_pgnum"/>${pageNow}&nbsp;&nbsp;页
                </div>
            </form>
        </div>
    </div>
    <div class="floor fyh">软件开发：&nbsp;赣州科睿特软件技术有限公司(技术支持)&nbsp;&nbsp;&nbsp;&nbsp;客服电话：&nbsp;0797-8356742</div>
</div>
</body>
</html>

